import 'ant-design-vue/dist/antd.css';
import 'element-plus/dist/index.css';

import '@kunlun/vue-ui-antd/dist/kunlun-vue-ui-antd.css';
import '@kunlun/vue-ui-el/dist/kunlun-vue-ui-el.css';
import '@kunlun/designer-common/dist/kunlun-designer-common.css';
// import '@kunlun/data-designer/dist/kunlun-data-designer.css';

import 'reflect-metadata';
import { VueOioProvider } from '@kunlun/dependencies';

// 设计器
// import '@kunlun/data-designer';
import '@kunlun/ui-designer-dependencies';

/**
 * 打开注释看资源应用的母版效果
 * @see https://doc.oinone.top/oio4/9265.html
 * */
// import './mask'
/**
 * 打开注释看资源应用的布局效果
 * @see https://doc.oinone.top/oio4/9266.html
 * */
// import './layout'
/**
 * 打开注释看资源应用的自定义页面效果
 * @see https://doc.oinone.top/oio4/9267.html
 * */
// import './view';
/**
 * 打开注释看资源应用的自定义动作效果
 * @see https://doc.oinone.top/oio4/9268.html
 * */
// import './action';
/**
 * 打开注释看自定义字段效果
 * @see https://doc.oinone.top/oio4/9269.html
 * */
// import './field';

/**
 * 打开注释看自定义主题效果
 * @see  https://doc.oinone.top/oio4/9270.html
 * */
import { themeName } from './theme'

VueOioProvider(
  {
    http: {
      url: location.origin,
    },
    browser: {
      title: 'Oinone',
      favicon: 'https://pamirs.oss-cn-hangzhou.aliyuncs.com/pamirs/image/default_favicon.ico'
    },
    // theme: [themeName]
  },
  []
);
